home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / modules.lha / modules / gadgets / tabs.m < prev    next >
Encoding:
Text File  |  2001-10-28  |  1.3 KB  |  33 lines

  1. /*
  2. **  $VER: tabs.h 42.3 (14.2.94)
  3. **  Includes Release 42.1
  4. **
  5. **  Definitions for the tabs BOOPSI gadget class
  6. **
  7. **  (C) Copyright 1994 Commodore-Amiga Inc.
  8. **  All Rights Reserved
  9. */
  10. /*****************************************************************************/
  11. MODULE 'utility/tagitem'//,'intuition/gadgetclass'
  12. /*****************************************************************************/
  13. #define TL_TEXTPEN    0
  14. #define TL_BACKGROUNDPEN  1
  15. #define TL_FILLTEXTPEN    2
  16. #define TL_FILLPEN    3
  17. #define MAX_TL_PENS     4
  18. /*****************************************************************************/
  19. /* This structure is used to describe the labels for each of the tabs */
  20. OBJECT tagTabLabel                   /* WAS: typedef struct ... */
  21.   tl_Label:PTR TO UBYTE,        /* Label */
  22.   tl_Pens[MAX_TL_PENS]:WORD,    /* Pens */
  23.   tl_Attrs:PTR TO TagItem       /* Additional attributes */
  24.  
  25. /*****************************************************************************/
  26. /* Additional attributes defined by the tabs.gadget class */
  27. #define TABS_Dummy    (TAG_USER+$04000000)
  28. #define TABS_Labels     (TABS_Dummy+1)
  29. /* (TabLabelP) Array of labels */
  30. #define TABS_Current    (TABS_Dummy+2)
  31. /* (LONG) Current tab */
  32. /*****************************************************************************/
  33.